﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Register.aspx.cs" Inherits="WhatSNew.RegisterAndSign.Register" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <link href="../CSS/Style.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <div class="header">
        <div class="header_resize">
        <div class="logo">
            <h1><a href="index.html">WhatS <span>New</span><small>Put my slogan here</small></a></h1>
        </div>
        <div class="clr"></div>
        </div>
        <div class="clr"></div>
    </div>
    
    <div class="content_resize">
        <div class = "rs_left" style = "width:560px">
        <form id="form1" runat="server">
            <h2>加入WhatSNew<asp:ScriptManager ID="ScriptManager1" runat="server">
                </asp:ScriptManager>
            </h2>
            <div class ="item">
                <label>用户名*</label>
                <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                    <ContentTemplate>
                        <asp:TextBox ID="TB_Name" runat="server" CssClass="basic-input"></asp:TextBox>
                        <asp:Label ID="LB_Name" runat="server" CssClass="_label" Text=""></asp:Label>
                    </ContentTemplate>
                </asp:UpdatePanel>
            </div>
            <div class ="item">  
                <label>密码*</label>
                <asp:TextBox ID="TB_Pwd" runat="server" CssClass="basic-input" TextMode="Password"></asp:TextBox>
                <asp:Label ID="LB_Password" runat="server" CssClass="_label" Text="密码长度须不少于6位" ></asp:Label>
            </div>
            <div class ="item">  
                <label>确认密码*</label>
                <asp:TextBox ID="TB_RePwd" runat="server" CssClass="basic-input" TextMode="Password" ></asp:TextBox>
                <asp:Label ID="LB_RePassword" runat="server" CssClass="_label"></asp:Label>
            </div>
            <div class ="item">  
                <label>邮箱</label>
                <asp:TextBox ID="TB_Email" runat="server" CssClass="basic-input"></asp:TextBox>
                <asp:Label ID="LB_Email" runat="server" CssClass="_label" Text=""></asp:Label>
                <asp:RegularExpressionValidator ID="REV_Email" runat="server" ControlToValidate="TB_Email" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
            </div>
            <div class ="item">
            <label>&nbsp;</label><asp:Button ID="RegisterBtn" runat="server" Text="注册" CssClass="btn-submit" OnClick="RegisterBtn_Click"/>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <a href ="SignIn.aspx" class ="btn-submit" style ="text-decoration:none">登陆</a>
            </div>
            <div class ="item">
                &nbsp;     
            </div>
        </form>
        </div>
        <div class ="rs_right" style ="width:408px">
            <img src ="../images/join us.jpg" style="margin: auto 0; width:400px;"/>
        </div>
        <div class ="clr"></div>
    </div>
    

    <footer>
        <div class="footer_resize">
            <p class="lf">© Copyright <a href="#">MyWebSite</a>.</p>
            <p class="rf">版权所有-401B</p>
            <div class="clr"></div>
        </div>
    </footer>
</body>
</html>
